<?php
// 全局中间件定义文件
use think\middleware\AllowCrossDomain;

return [
    // 全局请求缓存
     \think\middleware\CheckRequestCache::class,
    // 多语言加载
     \think\middleware\LoadLangPack::class,
    // Session初始化
    \think\middleware\SessionInit::class,
    // 多客内置中间件
    \app\middleware\DkMiddleware::class,
    // swoole中间件
    \app\middleware\SwooleMiddleware::class,
    // 控制台中间件
    \think\swoole\middleware\InteractsWithVarDumper::class,
    AllowCrossDomain::class
];
